---
--类名: ExclamMarkEvent.lua
--创建日期: 2015-5-26
--创建人: 陈小虎
--功能描述: 感叹号事件
--修改内容：
--修改日期:   
--修改人:     
--修改备注: 
--
local Event = import(".Event")

local ExclamMarkEvent = class("ExclamMarkEvent",function()
    return Event.new()
end)

function ExclamMarkEvent:ctor(params)
    self:setEventName(params.event)
    self.mNpcId = params.npcId
    self.mImmediately = (params.immediately == 1) and true or false
    self.mDir = params.dir
    self.mArmName = params.armName
    self.mAction = params.action

    self.mDelayTime = params.delayTime or 0
    self.mSound = params.sound and math.floor(tonumber(params.sound)) or nil
    self.mPlayTimes = params.playTimes or 1
end


return ExclamMarkEvent